<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<html>
	<head>
		<title>封条管理及验证系统--安全防护</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	</head>
<%@ include file="/comm.jsp"%>
	<script>
	$(document).ready(function() {
		$("form *").autohelp("#autohelp");
	});
	$(document).ready(function(){
	  $('#ok').click(function() {
		document.formpage.action="safetyInfo_save";
		document.formpage.submit();
	  }) 
	  $("#safetyInfo_save").validate(
	  );
	});
</script>
	<script language="JavaScript">
	function btn_commit(){
		document.formpage.action="safetyInfo_verify";
		document.formpage.submit();
	}	
</script>

	<style type="text/css">
<!--
fieldset {
	padding: 10px;
	margin: 10px;
	width: 270px;
	color: #333;
}

legend {
	color: #06c;
	font-weight: 800;
}
-->
</style>
	<body leftmargin="0" topmargin="0" marginheight="0">
		<s:form name="formpage" action="" namespace="/seal">
			<s:token>
			</s:token>
			<div align="center">
				<%@ include file="/messages.jsp"%>
				<fieldset>
					<legend>
						安全防护查看
					</legend>
					<s:hidden name="safetyInfo"></s:hidden>
					<table align="center" width="700px">
						<tr>
							<td align="right">
								业务单号：
							</td>
							<td>
								${safetyInfo.busiNo}
							</td>
							<td align="right">
								封条编号：
							</td>
							<td>
								${safetyInfo.seqId}
							</td>
						</tr>
						<tr>
							<td align="right">
								设施名称：
							</td>
							<td>
								${safetyInfo.placeName}
							</td>
							<td align="right">
								设施编号：
							</td>
							<td>
								${safetyInfo.placeNo}
							</td>
						</tr>
						<tr>
							<td align="right">
								施封人账户代码：
							</td>
							<td>
								${safetyInfo.userId}
							</td>
							<td align="right">
								施封人账户名称：
							</td>
							<td>
								${safetyInfo.userId}
							</td>
						</tr>
						<tr>
							<td align="right">
								施封时间：
							</td>
							<td>
								<s:date name="#safetyInfo.activeDate"
									format="yyyy-MM-dd HH:mm" />
							</td>
							<td align="right">
								状&nbsp;&nbsp;&nbsp;&nbsp;态：
							</td>
							<td>
								<s:property value="%{getText('SafetyStatus_01'}"/>
							</td>
						</tr>
						<tr>
							<td align="right">
								备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：
							</td>
							<td colspan="3">
								<textarea name="remark" rows="5" cols="50">${safetyInfo.remark}</textarea>
							</td>
						</tr>
						
						<s:if test="#request.safetyInfo.status=='02'">
						<tr>
							<td align="right">
								开封人：
							</td>
							<td>
								${safetyInfo.verifyUserid}
							</td>
							<td align="right">
								开封时间：
							</td>
							<td>
								<s:date name="#safetyInfo.verifyDate"
									format="yyyy-MM-dd HH:mm" />
							</td>
						</tr>
						</s:if>
						<tr>
							<td colspan="4" align="center">
								<input type="button" class="button" id="back" value=" 返 回 " onclick="javascript:history.go(-1)" />
							</td>
						</tr>
					</table>
				</fieldset>
			</div>
		</s:form>

	</body>
</html>